package org.nidy.erp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.nidy.erp.pojo.MemberShip;

import java.util.List;

public interface IMemberShipMapper extends BaseMapper<MemberShip> {
    @Select("select * from uf_MemberShip where 1=1 and nickName like concat('%',#{query},'%')")
    List<MemberShip> getMemberListByNickName(String query);
}
